package org.yzh.web.model.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.yzh.web.model.entity.BaseDeviceInfo;

import java.time.LocalDateTime;

/**
 * @author lsj
 * @date 2021/1/15 15:33
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DeviceOnlineInfo extends BaseDeviceInfo {
    public static final String SESSION_KEY = ":online";
    private long onlineTime;
    private long offlineTime;
}
